package com.company.admin.dao.user;

import com.company.admin.entity.User.AdminUserEntity;
import org.apache.commons.lang.StringUtils;
import org.apache.ibatis.annotations.Param;

/**
 * @author 赵成林
 * @date 2019/2/16 20:09
 */
public interface CompanyAdminUserDao {

    public void insert(AdminUserEntity adminUserEntity);
    public AdminUserEntity getAdminUserByToken(String token);
    public AdminUserEntity getAdminUserByName(String name);

    public int updateTokenById(@Param("token") String token, @Param("adminUserId") Long adminUserId);

}
